package com.ssy.lingxi.purchase.api.dto.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 *作废需求单
 */
@Data
public class PurchaseInquiryCancelRequest {

    /**
     *采购需求单ID
     */
    @NotNull(message = "采购需求单ID不能为空")
    private Long id;


    /**
     *作废原因
     */
    @NotEmpty(message = "作废原因不能为空")
    private String reason;


    /**
     *作废时间
     */
    @NotNull(message = "作废时间不能为空")
    private Long reasonTime;


}
